package com.axs.camera.remote;

import com.axs.camera.bean.PhotoResultBean;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface ApiService {

    @POST("/rest/2.0/image-classify/v1/plant")
    Observable<PhotoResultBean> plantClassify(@Query("access_token") String access_token, @Body RequestBody body);
}
